package com.sc.nft.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.dto.CollectiveSalesConfigDTO;
import com.sc.nft.dto.CollectiveSalesPageDTO;
import com.sc.nft.dto.CollectiveSalesPageVO;
import com.sc.nft.entity.CollectiveSalesConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.vo.SecondaryMarketSearchVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 集售配置表(sc_collective_sales_config)数据Mapper
 *
 * @author zxy
 * @since 2024-09-16 17:11:23
 * @description 由 Mybatisplus Code Generator 创建
*/
@Mapper
public interface CollectiveSalesConfigMapper extends BaseMapper<CollectiveSalesConfig> {
    Page<CollectiveSalesPageDTO> collectivePage(Page page, @Param("collectionId") Long collectionId, @Param("status") Boolean status);

    Page<CollectiveSalesPageVO> showCustomerPage(Page page);

    Page<SecondaryMarketSearchVO> searchWithFirstTitle(Page page,@Param("firstTitle") String firstTitle);



}
